package com.hrms.mapper;

import com.hrms.domain.Employee;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author 15770
* @description 针对表【t_employee】的数据库操作Mapper
* @createDate 2024-12-17 21:55:44
* @Entity com.hrms.domain.Employee
*/
@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {

    List<Employee> selectInfos();

    void deleteEmployeeByEmpNos(Long[] empNos);

    @Select("select * from t_employee where is_deleted='N' and emp_no=#{empNo}")
    Employee getInfo(Long empNo);
}




